package com.xzp.yygh.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xzp.yygh.model.order.OrderInfo;
import com.xzp.yygh.vo.order.OrderCountQueryVo;
import com.xzp.yygh.vo.order.OrderCountVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderInfoMapper extends BaseMapper<OrderInfo> {
    /**
     * 条件查询订单情况 用于echart展示
     * @param orderCountQueryVo
     * @return
     */
    List<OrderCountVo> selectOrderCount(@Param("vo") OrderCountQueryVo orderCountQueryVo);


}

